" Copyright 2024 Henrique Paone
"
" This file is part of Kitty-Visual.
"
" Kitty-Visual is free software: you can redistribute it and/or modify it under the
" terms of the GNU General Public License as published by the Free Software
" Foundation, either version 3 of the License, or (at your option) any later
" version.
" 
" Kitty-Visual is distributed in the hope that it will be useful, but WITHOUT ANY
" WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
" PARTICULAR PURPOSE. See the GNU General Public License for more details.
" 
" You should have received a copy of the GNU General Public License along with
" Kitty-Visual. If not, see <https://www.gnu.org/licenses/>.

vnoremap y "+y

" ######## DONT'T EDIT THIS BLOCK ########
let startup = '/tmp/.kitty-visual/startup'

fu Send(msg, fifo)
	exec 'redir! >' .. a:fifo
		echo a:msg
	redir END
endf

au VimEnter * call Send('ready', g:startup)
" #######################################
